package com.huawei.rbac.service;

import com.huawei.rbac.domain.Department;
import com.huawei.rbac.query.QueryObject;
import com.huawei.rbac.result.PageResult;

import java.util.List;

public interface IDepartmentService {

    void saveOrUpdate(Department d);

    void delete(Long id);

    Department get(Long id);

    List<Department> listAll();

    PageResult<Department> query(QueryObject qo);
}
